gridpack::component::BaseBranchComponent Class Reference
#include <base_component.hpp>
List of all members.
Constructor & Destructor Documentation
gridpack::component::BaseBranchComponent::BaseBranchComponent |
( |
void |
|
) |
|
virtual gridpack::component::BaseBranchComponent::~BaseBranchComponent |
( |
void |
|
) |
[virtual] |
Member Function Documentation
void gridpack::component::BaseBranchComponent::clearBuses |
( |
void |
|
) |
|
boost::shared_ptr<BaseComponent> gridpack::component::BaseBranchComponent::getBus1 |
( |
void |
|
) |
const |
Get pointer to bus at one end of branch
- Returns:
- pointer to bus 1
int gridpack::component::BaseBranchComponent::getBus1GlobalIndex |
( |
void |
|
) |
const |
Get global index for bus 1
- Returns:
- global index for bus 1
int gridpack::component::BaseBranchComponent::getBus1OriginalIndex |
( |
void |
|
) |
const |
Get original index for bus 1
- Returns:
- original index for bus 1
boost::shared_ptr<BaseComponent> gridpack::component::BaseBranchComponent::getBus2 |
( |
void |
|
) |
const |
Get pointer to bus at other end of branch
- Returns:
- pointer to bus 2
int gridpack::component::BaseBranchComponent::getBus2GlobalIndex |
( |
void |
|
) |
const |
Get global index for bus 2
- Returns:
- global index for bus 2
int gridpack::component::BaseBranchComponent::getBus2OriginalIndex |
( |
void |
|
) |
const |
Get original index for bus 2
- Returns:
- original index for bus 2
int gridpack::component::BaseBranchComponent::getGlobalIndex |
( |
void |
|
) |
const |
Get global index for branch
void gridpack::component::BaseBranchComponent::setBus1 |
( |
const boost::shared_ptr< BaseComponent > & |
bus |
) |
|
Set pointer to bus at one end of branch
- Parameters:
-
void gridpack::component::BaseBranchComponent::setBus1GlobalIndex |
( |
int |
idx |
) |
|
Set global index (from network) for bus 1
- Parameters:
-
| idx | global index for bus 1 |
void gridpack::component::BaseBranchComponent::setBus1OriginalIndex |
( |
int |
idx |
) |
|
Set original index for bus 1
- Parameters:
-
| idx | original index for bus 1 (assigned from input file) |
void gridpack::component::BaseBranchComponent::setBus2 |
( |
const boost::shared_ptr< BaseComponent > & |
bus |
) |
|
Set pointer to bus at other end of branch
- Parameters:
-
void gridpack::component::BaseBranchComponent::setBus2GlobalIndex |
( |
int |
idx |
) |
|
Set global index (from network) for bus 2
- Parameters:
-
| idx | global index for bus 2 |
void gridpack::component::BaseBranchComponent::setBus2OriginalIndex |
( |
int |
idx |
) |
|
Set original index for bus 2
- Parameters:
-
| idx | original index for bus 2 (assigned from input file) |
void gridpack::component::BaseBranchComponent::setGlobalIndex |
( |
int |
idx |
) |
|
Set global index for branch
- Parameters:
-
| idx | global index of branch |
The documentation for this class was generated from the following file: